home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _CF49A82C9477457A8DB1E4AE5F3D1F27 < prev    next >
Encoding:
Text File  |  2004-06-16  |  1.7 KB  |  87 lines

  1.  
  2. Shader()
  3. {// >=gf 3
  4.     SurfaceID(SRFTYPE)
  5.     NoLightmaps()
  6.     sortweight(SORTW)
  7.     Shaderquality(3)
  8.     Pass()
  9.     {
  10.         Pixelshader("CO.psh")
  11.  
  12.         !include("__Tex1.mtt")
  13.         !include("__Clouds.mtt")
  14.         !include("__FadeGen.mtt")
  15.  
  16.         BlendFunc("src_alpha", "inv_src_alpha")
  17.         AlphaFunc( "greater", 0 )
  18.         depthfunc("lequal", 0)
  19.     }
  20.     lightpass()
  21.  
  22.     !include("Spot1Tex.mtt")
  23.     Cull(CULLING)
  24. }
  25.  
  26. Shader()
  27. {// >=gf 3
  28.     SurfaceID(SRFTYPE)
  29.     NoLightmaps()
  30.     sortweight(SORTW)
  31.     Shaderquality(1)
  32.     Pass()
  33.     {
  34.         Pixelshader("O.psh")
  35.  
  36.         !include("__Tex1.mtt")
  37.         !include("__FadeGen.mtt")
  38.  
  39.         BlendFunc("src_alpha", "inv_src_alpha")
  40.         AlphaFunc( "greater", 0 )
  41.         depthfunc("lequal", 0)
  42.     }
  43.     lightpass()
  44.  
  45.     !include("Spot1Tex.mtt")
  46.     Cull(CULLING)
  47. }
  48.  
  49. Shader()
  50. {//gf2
  51.     SurfaceID(SRFTYPE)
  52.     NoLightmaps()
  53.     sortweight(SORTW)
  54.     Pass()
  55.     {
  56.  
  57.         tmu()
  58.         {
  59.             ColorOp("mul", "tfactor", "tfactor_a", "current")
  60.  
  61.         }
  62.  
  63.         tmu()
  64.         {
  65.             Texture()
  66.             {
  67.                 Mapchannel(0)
  68.                 Image(TEXTURE1)
  69.                 !include(TEX1OPTIONSFILE)
  70.             }
  71.             ColorOp("mul", "texture", "current", "current")
  72.             alphaop("mul2", "texture", "diffuse", "current")
  73.         }
  74.  
  75.         Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %ambient_r)
  76.  
  77.         BlendFunc("src_alpha", "inv_src_alpha")
  78.         AlphaFunc( "greater", 0 )
  79.         depthfunc("lequal", 0)
  80.     }
  81.  
  82.     lightpass()
  83.     !include("spot_spotmap.mtt")
  84.  
  85.     Cull(CULLING)
  86. }
  87.